package day02_Operator;
//输入一个数，判断是奇数还是偶数
import java.util.Scanner;
public class Test1第三天作业 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入一个数");
        int a=sc.nextInt();
        if (a%2==0){
            System.out.println("偶数");
        }else{
            System.out.println("奇数");
        }
    }
}

